package com.zjgxzh.dialogservice.pojo;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Lob;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
public class Summary {
    @Id
    private String threadId;

    @Column(nullable = false)
    private String username;

    @Lob
    private String content;
}
